﻿using Caliburn.Micro;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace SplitMergePanel.Models
{
    public class CanvasData : PropertyChangedBase
    {

        public CanvasData()
        {
            this.IsSelected = false;
        }
        private int top;

        public int Top
        {
            get { return top; }
            set { top = value; NotifyOfPropertyChange(nameof(Top)); }
        }



        private int left;

        public int Left
        {
            get { return left; }
            set { left = value; NotifyOfPropertyChange(nameof(Left)); }
        }



        private int canvasWidth;

        public int CanvasWidth
        {
            get { return canvasWidth; }
            set { canvasWidth = value; NotifyOfPropertyChange(nameof(CanvasWidth)); }
        }



        private int canvasHeight;

        public int CanvasHeight
        {
            get { return canvasHeight; }
            set { canvasHeight = value; NotifyOfPropertyChange(nameof(CanvasHeight)); }
        }


        private bool isSelected;

        public bool IsSelected
        {
            get { return isSelected; }
            set { isSelected = value; NotifyOfPropertyChange(nameof(IsSelected)); }
        }

        private BitmapImage imageData;

        public BitmapImage ImgData
        {
            get { return imageData; }
            set { imageData = value; NotifyOfPropertyChange(nameof(ImgData)); }
        }

        public Guid ID { get; set; }

    }
}
